#!/bin/sh

git pull
mvn package
docker stop beibiserver
docker rm beibiserver
docker rmi beibiserverdocker
docker build -t beibiserverdocker .
docker run -d -p 88:88  --privileged=true -v /data/www/docs:/docs -v /data/beibistack/static:/static --name beibiserver beibiserverdocker
docker logs -f beibiserver
